import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-assessment',
  templateUrl: './assessment.component.html',
  styleUrls: ['./assessment.component.css'],
})
export class AssessmentComponent implements OnInit {
  constructor() {}

  ngOnInit(): void {}

  formData = {
    // 基本情况
    name: '小蓝',
    gender: '女',
    school: '暨南大学',
    major: '传媒专业',
    grade: '大二',
    education: '本科',
    department: '技术部-前端开发',
    location: '广东广州',
    address: '广东广州达到289',
    position: '软件工程师233',
    mentor1: '小陈',
    mentor2: '小一',
    start_date: '2023-07-01',
    id_card: '440754200001016422',
    phone: '136xxxx2342',
    email: 'chaffy_zhen@126.com',

    // 实习成果
    achievements: [
      {
        work: '联大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大',
        publishDate: '2024-05-23',
        page: 'A2',
        wordCount: '1200',
      },
      {
        work: '联大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大',
        publishDate: '2024-08-31',
        page: 'A9',
        wordCount: '583',
      },
      {
        work: '联大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大',
        publishDate: '2025-01-03',
        page: '',
        wordCount: '800',
      },
      {
        work: '联大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大',
        publishDate: '2025-01-23',
        page: 'B11',
        wordCount: '3200',
      },
      {
        work: '联大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大此处团大',
        publishDate: '2025-02-10',
        page: '',
        wordCount: '510',
      },
    ],

    // 个人总结
    comments:
      '个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结个人总结',
    mentorComments: '',

    // 导师评语
    mentor1Comment:{
      name:'里哈哈',
      date:'2024/10/20',
      content: '导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语评语导师评语导师评语导师'
    }
      ,
    mentor2Comment:{
      name:'嘿嘿切克闹',
      date:'2024/12/30',
      content: '导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语导师评语评语导师评语导师评语导师'
    },

    // 部门意见
    departmentLeaderComment: [
      { name: '张菁', date: '2024/10/20' },
      { name: '李佩佩', date: '2024/11/30' },
      { name: '孟登科', date: '2024/11/30' },
    ],
    officeComment: '',
  };

  printForm() {
    window.print();
  }
}
